.tab-finances-content{
  margin-top: 40px;
}

/*** User pages ***/
.ag-paging-page-summary-panel{
  display: none!important;
}
.ag-grid-table .ag-paging-panel {
  height: 0!important;
}
.users-avatar-shadow {
  box-shadow: 2px 4px 14px 0 rgba(34, 41, 47, 0.4);
}

// aggrid actions dropdown
.actions-dropdown {
  .btn-group .btn {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.14) !important;
    border-radius: 0.5rem !important;
  }
}
// date picker width
.react-datepicker-wrapper {
  width: 100%;
}

// User view Table
.permissions-table {
  td,
  th {
    padding: 0.5rem;
  }
}

// User view info
.users-page-view-table .user-info {
  div {
    padding: 0.5rem;
  }
  .user-info-title {
    min-width: 140px;
  }
}


.finance-item {
  color: #2B3253 !important;
}

.finance-item {
  border-radius: 5px;
  font-size: 15px;
  color: #EBEEFC;
  box-sizing: border-box;
  outline: none;
  width: 100%;
  height: 100%;
  border: 1px solid #d9d9d9;
  background-color: #f5f5f1;
}

.finances-list:first-child{
  margin: 0!important;
}
.finance-id-name{
  width: 288px;
}
.finance-money{
  width: 92px;
}

.finances-lists{
  overflow-y: auto;
  max-height: 288px;

  &::-webkit-scrollbar {
    width: 8px;
  }

  &::-webkit-scrollbar-track {
    background: #2B3253;
    cursor: pointer;
  }

  &::-webkit-scrollbar-thumb {
    background: #7367f0;
    border-radius: 1px;
  }

  &::-webkit-scrollbar-thumb:hover {
    background: #7367f0;
  }
}

body.dark-layout .finance-item {
  border: 1px solid #2B3253;
  background-color: #2B3253;
  color: #FFFFFF !important;
  resize: none;
}
body.dark-layout .finance-item::placeholder {
  color: rgba(235, 238, 252, 0.4);;
}

.grid-table {
  height: 350px;
}
body.dark-layout .ag-grid-table {
  background-color: transparent;
}
body.dark-layout .ag-grid-table .ag-root-wrapper .ag-root-wrapper-body .ag-header .ag-header-cell {
  background-color: transparent;
}
body.dark-layout .ag-grid-table .ag-root-wrapper .ag-root-wrapper-body .ag-header {
  background-color: transparent;
}
.finance-item-description {
  min-height: 90px;
}

.finance-item:focus {
  border: 1px solid #6F64F8 !important;
  box-shadow: 0 0 5px rgba(111, 100, 248, 0.83);
}

.finance-item-input {
  padding: 10.5px 20px 10.5px 10px;
}

body.dark-layout .react-numeric-input input {
    background-color: #10163a!important;
}

.tab-finances-content{
  .text-capitalize{
    font-weight: bold;
    font-size: 14px;
    line-height: 30px;
    color: #EBEEFC;
  }
  .apexcharts-legend{
    display: flex;
    justify-content: start!important;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    padding-left: 30%;
  }
  .apexcharts-legend-series{
    justify-content: start;
    width: 100%;

  }
  .finances-graph-charts-price{
    font-weight: 500;
    font-size: 24px;
    line-height: 30px;
  }
  .apexcharts-legend-text{
    font-weight: 500!important;
    font-size: 18px!important;
    line-height: 30px!important;
  }
}

@media (max-width: 1800px) {
  .tab-finances-content {
    .finance-tables-charts {
      flex-direction: column;
    }
    .finance-tables, .finance-charts{
      width: 100%!important;
      padding-right: 0!important;
    }
  }
  .menu-collapsed .tab-finances-content {
    .finance-tables-charts {
      flex-direction: row!important;
    }
    .finance-tables, .finance-charts{
      width: 50%!important;
    }
    .finance-tables{
      padding-right: 3rem!important;
    }
  }
}


@media (max-width: 1660px) {
  .tab-finances-content {
    .finance-tables-charts {
      .finance-tables, .finance-charts{
        width: 100%!important;
        padding-right: 0!important;
      }
    }
  }

  .menu-collapsed .tab-finances-content {
    .finance-tables-charts {
      flex-direction: column!important;
    }
  }
}

@media (max-width: 576px) {
  .ag-grid-table {
    .ag-paging-panel {
      height: 160px;
    }
    .sort-dropdown {
      margin-bottom: 1rem;
    }
  }
  .tab-finances-content {
    .apexcharts-legend {
      padding-left: 10%;
    }
  }
}
